package com.xuzhiguang.baidu.pan.sdk.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

import java.util.List;
import java.util.Map;

/**
 * @author xuzhiguang
 * @date 2020/6/26 23:29
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@JsonIgnoreProperties(ignoreUnknown = true)
public class BasicFileMetasResult extends BaiduPanCommonResult {

    /**
     * 文件信息列表
     */
    private List<BaiduPanFile> list;

    /**
     * 	文件上传者uk和账户名称
     */
    private Map<String, String> names;

    @Override
    public String toString() {
        return "BasicFileMetasResult{" +
                "super=" + super.toString() + '\''+
                ", list=" + list +
                ", names=" + names +
                '}';
    }

    public List<BaiduPanFile> getList() {
        return list;
    }

    public void setList(List<BaiduPanFile> list) {
        this.list = list;
    }

    public Map<String, String> getNames() {
        return names;
    }

    public void setNames(Map<String, String> names) {
        this.names = names;
    }
}
